package screens 
{
	import flash.display.MovieClip;
	import flash.geom.ColorTransform;
	/**
	 * ...
	 * @author Andy Wolff
	 */
	public class MainScreen extends Screen
	{
		public var main:Main;
		//[Embed(source = '../images/Buttons/background_800x470.png')] private var img:Class;
		private var canvas:NoteCanvas;
		private var tabs:ToolsTabs;
		
		public function MainScreen(main:Main) 
		{
			this.main = main;
			graphics.beginFill(0x222222, 1);
			graphics.drawRect(0, 0, 800, 470);
			graphics.endFill();
			//var bg:MovieClip = new MovieClip;
			//bg.addChild(new img());
			//addChild(bg);
			//var c:ColorTransform = new ColorTransform(0.2, 0.2, 0.2);
			//bg.transform.colorTransform = c;
			
			addChild(canvas=new NoteCanvas(this));
			tabs = canvas.tabs;
		}
		
		public function whichTool():int {
			return tabs.whichTool();
		}
		
	}

}